/**
 * class  BaseCheckBox
 * 多选框基类，通过此类，可自定义CheckBox
 * author haicent
 * email haicent@126.com
 * version 0.01
 */
package as3.component.support
{
	import as3.component.support.BaseToggleButton;
	
	public class BaseCheckBox extends BaseToggleButton
	{
		
		protected var _value:*;
		
		public function BaseCheckBox()
		{
			super();
		}
		
		override protected function initUI():void
		{
			super.initUI();
			_uiLibrary["upImage"] = "CheckBox_upSkin";
			_uiLibrary["overImage"] = "CheckBox_overSkin";
			_uiLibrary["downImage"] = "CheckBox_downSkin";
			_uiLibrary["disabledImage"] = "CheckBox_disabledSkin";
			
			_uiLibrary["selectUpImage"] = "CheckBox_selectUpSkin";
			_uiLibrary["selectOverImage"] = "CheckBox_selelctOverSkin";
			_uiLibrary["selectDownImage"] = "CheckBox_selectDownSkin";
			_uiLibrary["selectDisabledImage"] = "CheckBox_selelctDisabledSkin";
		}
		
		public function set value(value:*):void
		{
			_value = value;
		}
		
		public function get value():*
		{
			return _value;
		}
		
		override public function set width(value:Number) : void
		{
			super.width = value;
		}
		
		override public function set height(value:Number) : void
		{
			super.height = value;
		}
		
	}
}